import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/page/index'
import info from '@/page/info'
import login from '@/page/login'
import cart from '@/page/car'
import order from '@/page/order'
import manager from '@/page/manager'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',

      component: Index
    },
    {
      path: '/info',
      name: 'info',
      component: info
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/cart',
      name: 'cart',
      component: cart
    },
    {
      path: '/manager',
      name: 'manager',
      component: manager
    },{
      path: '/order',
      name: 'order',
      component: order
    }
  ]
})
